package org.csu.mypetstorebackstage.domain;

import java.math.BigDecimal;

public class OrderItem {
    private int orderId;
    private String itemId;
    private BigDecimal unitPrice;

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    @Override
    public String toString() {
        return "OrderItem{" +
                "orderId=" + orderId +
                ", itemId='" + itemId + '\'' +
                ", unitPrice=" + unitPrice +
                '}';
    }
}
